@import 'variables';

seed-customer-list {
  seed-content {
    background-color: color(c9);
    .search-results {
      margin-bottom: pxTorem(160);
    }
  }
  .seed-underline:before {
    z-index: 1;
  }
  .customer-list-wrap {
    background-color: color(c9);
  }
  .customer-search {
    background-color: color(c10);
    margin: pxTorem(20) pxTorem(24);
    border-radius: pxTorem(6);
    display: flex;
    align-items: center;
    padding-left: pxTorem(16);
    overflow: hidden;
    &:before {
      content: '';
      @include icon(24, 24, '#{$icons-path}/search_icon@2x.png');
    }
    input {
      font-size: standard($f, f6);
      height: pxTorem(56);
      flex: 1;
      padding-left: pxTorem(12);
      color: color(c2);
      &::-webkit-input-placeholder {
        color: color(c4);
      }
    }
  }
  .customer-list {
    background-color: color(c10);
  }
  .list-header {
    height: pxTorem(88);
    color: color(c2);
    font-size: standard($f, f3);
    display: flex;
    padding: 0 pxTorem(20);
    align-items: center;
    position: relative;
    &:after {
      content: '';
      margin: auto 0 auto pxTorem(12);
      top: 0;
      bottom: 0;
      position: absolute;
      right: pxTorem(20);
      transform: rotate(180deg);
      -webkit-transform: rotate(180deg);
      @include icon(20, 20, '#{$icons-path}/icon_training_Pack_up@2x.png');
    }
    &.open {
      &:after {
        transform: rotate(0deg);
      }
      .drop-down {
        display: block;
      }
    }
  }
  .select-title {
  }
  .drop-down {
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: pxTorem(338.3);
    left: 0;
    right: 0;
    height: 100%;
    display: none;
    z-index: 10;
    li {
      color: color(c2);
      font-size: standard($f, f4);
      padding-left: pxTorem(24);
      background-color: color(c10);
      .seed-underline {
        display: flex;
        align-items: center;
        height: pxTorem(88);
      }
    }
    .selected:after {
      content: '';
      position: absolute;
      right: pxTorem(20);
      @include icon(31, 31, '#{$icons-path}/choose@2x.png');
    }
  }
  .list-item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    &:last-child {
      .item-col:before {
        content: none;
      }
    }
  }
  seed-avatar {
    margin: 0 pxTorem(20) 0 pxTorem(30);
    height: pxTorem(80);
    width: pxTorem(80);
  }
  .item-col {
    flex: 1;
    height: pxTorem(130);
    display: flex;
    align-items: center;
    font-size: standard($f, f4);
    padding-right: pxTorem(12);
    .name {
      color: color(c2);
      flex: 1;
    }
    .status {
      color: color(c4);
    }
    &:after {
      content: '';
      margin-left: pxTorem(12);
      @include icon(30, 30, '#{$icons-path}/icon_training_right_s@2x.png');
    }
  }
  seed-submit-button {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 8;
    box-sizing: border-box;
    //box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  }

  .modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.0);
    display: none;
  }
  .active {
    display: block;
  }
}
